package com.orange.mapper;


import com.orange.domain.StatBean;
import com.orange.domain.User;
import com.orange.domain.VisitLog;
import com.orange.dto.StatDto;
import com.orange.dto.VisitLogDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface VisitLogMapper {
    int insert(VisitLog record);

    int insertSelective(VisitLog record);

    List<VisitLog> queryAll(@Param("visitLogDto") VisitLogDto visitLogDto);

    List<StatBean> statVisitCount(@Param("visitLogDto") StatDto statDto);

    void updateRealname(@Param("user") User user);
}
